/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: Anonymous
 * License Type: Purchased
 */
package com.estate.datalogic.dao;

import org.orm.*;
import org.hibernate.Query;
import java.util.List;
import com.estate.datalogic.*;

/**
 * ORM-Persistable Class
 */
public interface ClientDAO {
	public Client loadClientByORMID(int id) throws PersistentException;
	public Client loadClientByORMID(PersistentSession session, int id) throws PersistentException;
	public Client[] listClientByQuery(String condition, String orderBy) throws PersistentException;
	public Client[] listClientByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Client loadClientByQuery(String condition, String orderBy) throws PersistentException;
	public Client loadClientByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Client createClient();
	public boolean save(com.estate.datalogic.Client client)throws PersistentException;
	public boolean delete(com.estate.datalogic.Client client)throws PersistentException;
	public boolean deleteAndDissociate(com.estate.datalogic.Client client)throws PersistentException;
	public boolean refresh(com.estate.datalogic.Client client)throws PersistentException;
}
